cmake_minimum_required(VERSION 3.31)
project(findx)

find_program(protoc
NAMES protoc
PATHS G:/twistcar/lib/3rd/Debug/bin)


message(STATUS "protoc:" ${protoc})
execute_process(COMMAND  ${protoc} --cpp_out=dllexport_decl=TWIST_EXPORT:./         ./Core.proto
WORKING_DIRECTORY G:/twistcar/src
RESULT_VARIABLE ep1)


message(STATUS "RESULT:" ${ep1})